package com.nuanshui.heatedloan.credit.pay.validation;

public class ValidationResult {

    public ValidationResult(ValidationResultCode result)
    {
        setValidationResultCode(result);
    }

    public ValidationResult(String code,String msg)
    {
        this.code=code;
        this.msg=msg;
    }

    public void setValidationResultCode(ValidationResultCode result)
    {
        this.code=result.getCode();
        this.msg=result.getMsg();

    }

    private String code;

    private String msg;

    //通联错误码
    private String allinPayCode;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getAllinPayCode() {
        return allinPayCode;
    }

    public void setAllinPayCode(String allinPayCode) {
        this.allinPayCode = allinPayCode;
    }
}
